package com.lz.gmall.order;

import com.lz.gamll.feign.anno.EnableFeignRequestInterceptor;
import com.lz.gmall.anno.EnableGmallMybatisPlusInterceptor;
import com.lz.gmall.rabbit.anno.EnableRabbitMqConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 郭运龙
 */
@SpringBootApplication
@MapperScan("com.lz.gmall.order.mapper")
@EnableFeignRequestInterceptor
@EnableFeignClients(basePackages = {
        "com.lz.gamll.feign.cart",
        "com.lz.gamll.feign.user",
        "com.lz.gamll.feign.product",
        "com.lz.gamll.feign.ware"})
@EnableRabbitMqConfiguration
@EnableGmallMybatisPlusInterceptor
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }
}
